package com.zdb.demo.design.pattern.structural.decorator.v1;

public class BattercakeWithEgg extends Battercake {
    @Override
    public String getDesc() {
        return super.getDesc() + " 加一个鸡蛋";
    }

    @Override
    public int getCost() {
        return super.getCost() + 1;
    }
}
